package com.hydl.power.pojo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;

import java.io.Serializable;
import java.util.Date;
@ExcelTarget("log")
public class Log implements Serializable {
    private String id;

    private String logname;

    private String loglink;

    private String logparam;

    private String logreqtype;
    @Excel(name = "用户ip",orderNum = "1",isImportField = "logip")
    private String logip;

    private String logIpAddress;

    private String logsys;

    private String logbrowser;

    private String logmethod;
    @Excel(name = "用户名",orderNum = "0",isImportField = "loguser")
    private String loguser;
    @Excel(name="日志时间",orderNum = "2",isImportField = "logdate")
    private Date logdate;

    private String logtype;
    @Excel(name = "操作内容",orderNum = "3",isImportField = "cropcode")
    private String cropcode;

    private String cropname;

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getLogname() {
        return logname;
    }

    public void setLogname(String logname) {
        this.logname = logname == null ? null : logname.trim();
    }

    public String getLoglink() {
        return loglink;
    }

    public void setLoglink(String loglink) {
        this.loglink = loglink == null ? null : loglink.trim();
    }

    public String getLogparam() {
        return logparam;
    }

    public void setLogparam(String logparam) {
        this.logparam = logparam == null ? null : logparam.trim();
    }

    public String getLogreqtype() {
        return logreqtype;
    }

    public void setLogreqtype(String logreqtype) {
        this.logreqtype = logreqtype == null ? null : logreqtype.trim();
    }

    public String getLogip() {
        return logip;
    }

    public void setLogip(String logip) {
        this.logip = logip == null ? null : logip.trim();
    }

    public String getLogsys() {
        return logsys;
    }

    public void setLogsys(String logsys) {
        this.logsys = logsys == null ? null : logsys.trim();
    }

    public String getLogbrowser() {
        return logbrowser;
    }

    public void setLogbrowser(String logbrowser) {
        this.logbrowser = logbrowser == null ? null : logbrowser.trim();
    }

    public String getLogmethod() {
        return logmethod;
    }

    public void setLogmethod(String logmethod) {
        this.logmethod = logmethod == null ? null : logmethod.trim();
    }

    public String getLoguser() {
        return loguser;
    }

    public void setLoguser(String loguser) {
        this.loguser = loguser == null ? null : loguser.trim();
    }

    public Date getLogdate() {
        return logdate;
    }

    public void setLogdate(Date logdate) {
        this.logdate = logdate;
    }

    public String getLogtype() {
        return logtype;
    }

    public void setLogtype(String logtype) {
        this.logtype = logtype == null ? null : logtype.trim();
    }

    public String getCropcode() {
        return cropcode;
    }

    public void setCropcode(String cropcode) {
        this.cropcode = cropcode == null ? null : cropcode.trim();
    }

    public String getCropname() {
        return cropname;
    }

    public void setCropname(String cropname) {
        this.cropname = cropname == null ? null : cropname.trim();
    }

    public String getLogIpAddress() {
        return logIpAddress;
    }

    public void setLogIpAddress(String logIpAddress) {
        this.logIpAddress = logIpAddress;
    }
}